<template>
  <van-tabbar route>
    <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
    <van-tabbar-item icon="search" to="/search">搜索</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.van-tabbar-item--active {
  color: red;
}
</style>